package com.sunsharing.wsdlcall.model;

import com.sunsharing.common.utils.StringUtils;

public class RequestElement {
	
	String name;
	Object value;
	
	public String getName()
	{
		return name;
	}
	
	public Object getValue()
	{
		return value;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public void setValue(Object value)
	{
		this.value = value;
	}

    public String getXXZXBw()
    {
        if(value instanceof  String)
        {
            return "<Input name=\""+name+"\" type=\"String\">"+ StringUtils.transXMLCDADA((String) value) + "</Input>";
        }
        return "";
    }

}
